//
//  TaskListModel.m
//  ShouYi
//
//  Created by yrapp on 16/2/29.
//  Copyright © 2016年 yurui. All rights reserved.
//

#import "TaskListModel.h"

@implementation TaskListModel

+(TaskListModel *)setUpDic:(NSDictionary *)dic {
    
    TaskListModel *model = [[TaskListModel alloc] init];
    [model setValuesForKeysWithDictionary:dic];
    return model;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
    
}

@end
